package com.xia.domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 聊天记录
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Chat {
    private Integer chatId;
    private String chatKey;
    //登录用户为主视角 并非数据库的字段关系
    private Integer chatUser;
    private Integer chatFriend;
    private Users users;

    private String newMessage;
}
